/**
 * 
 */
package com.ms.service.module.baccarat;

import java.util.ArrayList;

/**
 * 發牌階段的資料
 * 
 * @author TW15010
 */
public class BacrDealtStepData {
	/**
	 * 發牌前銷掉的第一張牌
	 */
	private BacrCard discard;

	/**
	 * 這一鋪所需的牌的 index list
	 */
	private ArrayList<Integer> cardIndexList = new ArrayList<Integer>();

	/**
	 * 發牌順序
	 */
	private ArrayList<BacrCard> dealtList = new ArrayList<BacrCard>();

	/**
	 * 牌靴中是否為紅卡
	 */
	private boolean redCardInShoe;

	public void clear() {
		discard = null;
		cardIndexList.clear();
		dealtList.clear();
		redCardInShoe = false;
	}

	public boolean isRedCardInShoe() {
		return redCardInShoe;
	}

	public void setRedCardInShoe(boolean redCardInShoe) {
		this.redCardInShoe = redCardInShoe;
	}

	public ArrayList<BacrCard> getDealtList() {
		return dealtList;
	}

	public void setDealtList(ArrayList<BacrCard> dealtList) {
		this.dealtList = dealtList;
	}

	public ArrayList<Integer> getCardIndexList() {
		return cardIndexList;
	}

	public void setCardIndexList(ArrayList<Integer> cardIndexList) {
		this.cardIndexList = cardIndexList;
	}

	public BacrCard getDiscard() {
		return discard;
	}

	public void setDiscard(BacrCard discard) {
		this.discard = discard;
	}
}
